/* 顶部导航样式 */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
}

.shop-name {
    font-weight: bold;
    font-size: 20px;
    color: #42b983 !important;
}

.nav-middle {
    display: flex;
    align-items: center;
    flex: 1;
    max-width: 500px;
    margin: 0 auto;
}

.search-input {
    flex: 1;
    margin-right: 10px;
}

.search-btn {
    min-width: 80px;
}

/* 页面主体间距 */
.content-container {
    margin-top: 80px;
}

/* 商品卡片样式 */
.thumbnail {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: box-shadow 0.3s;
}

.thumbnail:hover {
    box-shadow: 0 0 10px rgba(66, 185, 131, 0.3);
}

.thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.caption {
    text-align: center;
}

.price-new {
    color: #e74c3c;
    font-weight: bold;
}

.price-old {
    color: #999;
    margin-left: 10px;
}

/* 响应式布局 */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-middle {
        width: 100%;
        margin-top: 10px;
    }

    .search-input {
        width: 100%;
    }

    .goods-list {
        justify-content: center;
    }
}
